package org.tea.interfaces;

import org.cef.CefApp;
import org.cef.CefClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.tea.application.browser.MainFrame;
import org.tea.application.service.CookieService;

import java.util.concurrent.CountDownLatch;

/**
 * @author lxh
 */
@SpringBootApplication
@ComponentScans({
        @ComponentScan(basePackages = {"org.tea.*"})
})
public class CrawlApplication {

    private final static Logger log = LoggerFactory.getLogger(CrawlApplication.class);

    public static void main(String[] args) throws InterruptedException {
        ConfigurableApplicationContext context = SpringApplication.run(CrawlApplication.class, args);
    }
}
